package tinsiec;

public class ParseInfo
{
    private boolean messageFound;
    private int messageStart;
    private int messageEnd;

    public ParseInfo(int ms, int me)
    {
        messageFound = true;
        messageStart = ms;
        messageEnd = me;
    }

    public ParseInfo()
    {
        messageFound = false;
        messageStart = messageEnd = -1;
    }

    public boolean isMessageFound()
    {
        return messageFound;
    }

    public int getMessageStart()
    {
        return messageStart;
    }
    
    public int getMessageEnd()
    {
        return messageEnd;
    }

}
